<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">

    <title>FlashCash后台管理系统</title>
    <link rel="icon" href="__PUBLIC__/home/img/favicon.ico" type="image/x-icon"/>
    <!-- Bootstrap -->
    <link href="__PUBLIC__/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="__PUBLIC__/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <!-- NProgress -->
    <link href="__PUBLIC__/vendors/nprogress/nprogress.css" rel="stylesheet">
    <!-- jQuery custom content scroller -->
    <link href="__PUBLIC__/vendors/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.min.css" rel="stylesheet"/>

    <!-- Custom Theme Style -->
    <link href="__PUBLIC__/build/css/custom.min.css" rel="stylesheet">
    <!--<link rel="stylesheet" href="__PUBLIC__/home/boostrap/css/bootstrap.min.css">-->
    <!--<link rel="stylesheet" href="__PUBLIC__/home/awesome/css/font-awesome.min.css">-->
    <link rel="stylesheet" href="__PUBLIC__/home/css/common.css">
    <!--<script src="__PUBLIC__/home/js/jquery.min.js"></script>-->
    <script src="__PUBLIC__/vendors/jquery/dist/jquery.min.js"></script>
    <!-- 引入样式 -->
    <!--<link rel="stylesheet" href="__PUBLIC__/home/css/ele.css">-->
    <!-- 引入组件库 -->
    <!--<script src="__PUBLIC__/home/js/element-ui.js"></script>-->

    
    <script src="__PUBLIC__/home/boostrap/js/bootstrap.min.js"></script>
    <script src="__PUBLIC__/home/js/common.js"></script>
    <script src="__PUBLIC__/home/js/vue.js"></script>
    <script src="__PUBLIC__/home/js/vue-axios.min.js"></script>
    <script src="__PUBLIC__/layer/layer.js"></script>
    <script type="text/javascript" src="__PUBLIC__/home/js/echarts.min.js"></script>
</head>


<body class="nav-md">
<div class="container body">
    <div class="main_container">
        <div class="col-md-3 left_col menu_fixed">
            <div class="left_col scroll-view">
                <div class="navbar nav_title" style="border: 0;">
                    <a href="" class="site_title">
                        <img width="40px" height="40px" src="__PUBLIC__/home/img/logoo.png" alt=""><span>FlashCash</span></a>
                </div>

                <div class="clearfix"></div>
                <!-- menu profile quick info -->
                <div class="profile clearfix">
                    <div class="profile_pic">
                        <img src="__PUBLIC__/home/img/admin.jpg" alt="..." class="img-circle profile_img">
                    </div>
                    <div class="profile_info">
                        <span>Welcome,</span>

                        <h2>{:session('username')}</h2>
                    </div>
                </div>
                <!-- /menu profile quick info -->
                <br/>
                <!-- sidebar menu -->
                <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
                    <div class="menu_section">
                        <ul class="nav side-menu">

                            {if condition="in_array('home/coupon',$auth)"}
                            <li><a {if condition="$controller eq 'Analyse'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> 统计分析 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/coupon/couponlist',$auth)"}
                                    <li><a href="{:URL('home/Analyse/daily')}">日报</a></li>
                                    {/if}
                                    {if condition="in_array('home/coupon/couponlist',$auth)"}
                                    <li><a href="{:URL('home/Analyse/loanRepay')}">还款分析</a></li>
                                    {/if}

                                    {if condition="in_array('home/coupon/couponlist',$auth)"}
                                    <li><a href="{:URL('home/Analyse/dueLoanAnalyse')}">逾期分析</a></li>
                                    {/if}

                                    <!--{if condition="in_array('home/coupon/couponlist',$auth)"}-->
                                    <!--<li><a href="{:URL('home/Analyse/badMoneyAnalyse')}">坏账分析</a></li>-->
                                    <!--{/if}-->

                                    {if condition="in_array('home/user/userlist',$auth)"}
                                    <li><a href="{:URL('home/Analyse/userIncreateMent')}">日增长量统计</a></li>
                                    {/if}
                        </ul>
                            </li>
                            {/if}

                            {if condition="in_array('home/user',$auth)"}
                            <li><a {if condition="$controller eq 'User'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> 用户管理 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/user/userlist',$auth)"}
                                    <li><a href="{:URL('home/User/userList')}">用户列表</a></li>
                                    {/if}

                                    {if condition="in_array('home/user/userlist',$auth)"}
                                    <li><a href="{:URL('home/User/noCerList')}">未完成任何认证列表</a></li>
                                    {/if}

                                    {if condition="in_array('home/user/userlist',$auth)"}
                                    <li><a href="{:URL('home/User/personedList')}">完成个人信息列表</a></li>
                                    {/if}

                                    {if condition="in_array('home/user/userlist',$auth)"}
                                    <li><a href="{:URL('home/User/userCerList')}">完成个人认证列表</a></li>
                                    {/if}

                                    {if condition="in_array('home/user/userlist',$auth)"}
                                    <li><a href="{:URL('home/User/companyCerList')}">完成公司认证列表</a></li>
                                    {/if}

                                    {if condition="in_array('home/user/userlist',$auth)"}
                                    <li><a href="{:URL('home/User/facedList')}">完成人脸识别列表</a></li>
                                    {/if}

                                    {if condition="in_array('home/user/userlist',$auth)"}
                                    <li><a href="{:URL('home/User/cerEdList')}">完成所有认证列表</a></li>
                                    {/if}


                                    <!--{if condition="in_array('home/user/userlist',$auth)"}-->
                                    <!--<li><a href="{:URL('home/User/userList')}">完成人脸识别列表</a></li>-->
                                    <!--{/if}-->
                                </ul>
                            </li>
                            {/if}

                            {if condition="in_array('home/check',$auth)"}
                            <li><a {if condition="$controller eq 'Check'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> 审核管理 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/check/checkinglist',$auth)"}
                                    <li><a href="{:URL('home/Check/checkingList')}">待审核列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/check/checkinglist',$auth)"}
                                    <li><a href="{:URL('home/Check/checkingPendList')}">驳回认证待审核列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/check/checkinglist',$auth)"}
                                    <li><a href="{:URL('home/Check/noCerditList')}">无分类待审核列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/check/checkinglist',$auth)"}
                                    <li><a href="JavaScript:;">续借待审核列表 <span class="fa fa-chevron-down"></span></a>
                                        <ul class="nav child_menu">
                                            <li class="sub_menu"><a href="{:URL('home/Check/loanMore1')}">无坏账续借</a></li>
                                            <li><a href="{:URL('home/Check/loanMore2')}">有坏账续借</a></li>
                                        </ul>
                                    </li>
                                    {/if}
                                    {if condition="in_array('home/check/checkinglist',$auth)"}
                                    <li><a href="JavaScript:;">高信用待审核列表 <span class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <li class="sub_menu"><a href="{:URL('home/Check/highScore1')}">高信用1</a></li>
                                        <li><a href="{:URL('home/Check/highScore2')}">高信用2</a></li>
                                        <li><a href="{:URL('home/Check/highScore3')}">高信用3</a></li>
                                    </ul>
                                    </li>
                                    {/if}
                                    {if condition="in_array('home/check/checkinglist',$auth)"}
                                    <li><a href="JavaScript:;">无crif待审核列表 <span class="fa fa-chevron-down"></span></a>
                                        <ul class="nav child_menu">
                                            <li class="sub_menu"><a href="{:URL('home/Check/noCrifList1')}">无CRIF 1</a></li>
                                            <li><a href="{:URL('home/Check/noCrifList2')}">无CRIF 2</a></li>
                                            <li><a href="{:URL('home/Check/noCrifList3')}">无CRIF 3</a></li>
                                        </ul>
                                    </li>
                                    {/if}
                                    <!--{if condition="in_array('home/check/checkinglist',$auth)"}-->
                                    <!--<li><a href="{:URL('home/Check/smsHignRisk')}">敏感短信列表</a></li>-->
                                    <!--{/if}-->
                                    {if condition="in_array('home/check/checkinglist',$auth)"}
                                    <li><a href="JavaScript:;">低信用待审核列表 <span class="fa fa-chevron-down"></span></a>
                                        <ul class="nav child_menu">
                                            <li class="sub_menu"><a href="{:URL('home/Check/lowCreditScoreList1')}">低信用1</a></li>
                                            <li><a href="{:URL('home/Check/lowCreditScoreList2')}">低信用2</a></li>
                                        </ul>
                                    </li>
                                    {/if}
                                    {if condition="in_array('home/check/checkinglist',$auth)"}
                                    <li><a href="{:URL('home/Check/ageToLarge')}">年龄偏大待审核列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/check/checkedlist',$auth)"}
                                    <li><a href="{:URL('home/Check/checkedList')}">审核通过列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/check/checkednolist',$auth)"}
                                    <li><a href="{:URL('home/Check/checkedNoList')}">审核不通过列表</a></li>
                                    {/if}
                                </ul>
                            </li>
                            {/if}

                            {if condition="in_array('home/transaction',$auth)"}
                            <li><a {if condition="$controller eq 'Transaction'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> 交易管理 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/transaction/transactionlist',$auth)"}
                                    <li><a href="{:URL('home/Transaction/transactionList')}">待交易列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/transaction/transactionlist',$auth)"}
                                    <li><a href="{:URL('home/Transaction/transactionEsignList')}">已签证待交易列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/transaction/transactionlist',$auth)"}
                                    <li><a href="{:URL('home/Transaction/transactionNoEsignList')}">待签证待交易列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/transaction/transactionlist',$auth)"}
                                    <li><a href="{:URL('home/Transaction/payFailedList')}">打款退回待交易列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/transaction/transactionyeslist',$auth)"}
                                    <li><a href="{:URL('home/Transaction/transactionYesList')}">交易成功列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/transaction/transactionnolist',$auth)"}
                                    <li><a href="{:URL('home/Transaction/transactionNoList')}">交易失败列表</a></li>
                                    {/if}
                                </ul>
                            </li>
                            {/if}


                            {if condition="in_array('home/due',$auth)"}
                            <li><a {if condition="$controller eq 'Due'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> 催款管理 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/due/duelist',$auth)"}
                                    <li><a href="{:URL('home/Due/dueAllList')}">所有借款列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/due/duelist',$auth)"}
                                    <li><a href="{:URL('home/Due/dueList')}">逾期列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/due/duelist',$auth)"}
                                    <li><a href="{:URL('home/Due/dueTwoList')}">到期前两天逾期列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/due/duelist',$auth)"}
                                    <li><a href="{:URL('home/Due/dueOneList')}">到期前一天逾期列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/due/duelist',$auth)"}
                                    <li><a href="{:URL('home/Due/dueTodayList')}">当天还款列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/due/duelist',$auth)"}
                                    <li><a href="{:URL('home/Due/dueOneDay')}">逾期一天列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/due/duelist',$auth)"}
                                    <li><a href="{:URL('home/Due/dueThreeDay')}">逾期三天列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/due/duelist',$auth)"}
                                    <li><a href="{:URL('home/Due/dueFourDay')}">逾期四天列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/due/duelist',$auth)"}
                                    <li><a href="{:URL('home/Due/dueFiveDay')}">逾期五天列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/due/duelist',$auth)"}
                                    <li><a href="{:URL('home/Due/dueMoreFiveDay')}">逾期五天以上列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/due/duelist',$auth)"}
                                    <li><a href="{:URL('home/Due/dueBadList')}">坏账列表</a></li>
                                    {/if}
                                </ul>
                            </li>
                            {/if}


                            {if condition="in_array('home/userloan',$auth)"}
                            <li><a {if condition="$controller eq 'Userloan'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> 借款管理 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/userloan/userloanlist',$auth)"}
                                    <li><a href="{:URL('home/Userloan/userloanList')}">借款列表</a></li>
                                    {/if}
                                </ul>
                            </li>
                            {/if}

                            {if condition="in_array('home/userrepay',$auth)"}
                            <li><a {if condition="$controller eq 'Userrepay'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> 还款管理 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/userrepay/userrepaylist',$auth)"}
                                    <li><a href="{:URL('home/Userrepay/userrepayList')}">还款列表</a></li>
                                    {/if}
                                </ul>
                            </li>
                            {/if}

                            {if condition="in_array('home/product',$auth)"}
                            <li><a {if condition="$controller eq 'Product'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> 产品管理 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/product/productlist',$auth)"}
                                    <li><a href="{:URL('home/Product/productList',['type'=>'list'])}">产品列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/product/productadd',$auth)"}
                                    <li><a href="{:URL('home/Product/productAdd')}">添加产品</a></li>
                                    {/if}
                                </ul>
                            </li>
                            {/if}

                            {if condition="in_array('home/coupon',$auth)"}
                            <li><a {if condition="$controller eq 'Coupon'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> 优惠券管理 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/coupon/couponlist',$auth)"}
                                    <li><a href="{:URL('home/Coupon/couponList')}">优惠券列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/coupon/couponadd',$auth)"}
                                    <li><a href="{:URL('home/Coupon/couponAdd')}">添加优惠券</a></li>
                                    {/if}
                                    {if condition="in_array('home/coupon/touser',$auth)"}
                                    <li><a href="{:URL('home/Coupon/toUser')}">发放优惠券</a></li>
                                    {/if}
                                </ul>
                            </li>
                            {/if}

                            {if condition="in_array('home/active',$auth)"}
                            <li><a {if condition="$controller eq 'Active'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> 活动管理 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/active/bannerlist',$auth)"}
                                    <li><a href="{:URL('home/Active/bannerList')}">活动列表</a></li>
                                    {/if}

                                </ul>
                            </li>
                            {/if}



                            {if condition="in_array('home/sms',$auth)"}
                            <li><a {if condition="$controller eq 'Sms'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> 推送管理 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/sms/smslist',$auth)"}
                                    <li><a href="{:URL('home/Sms/smsList')}">模板列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/sms/pushloglist',$auth)"}
                                    <li><a href="{:URL('home/Sms/pushLogList')}">推送历史</a></li>
                                    {/if}
                                </ul>
                            </li>
                            {/if}

                            <!--<li><a {if condition="$controller eq 'Appconfig'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i>app配置  <span class="fa fa-chevron-down"></span></a>-->
                                <!--<ul class="nav child_menu">-->
                                    <!--<li><a href="{:URL('home/Appconfig/appconfigList')}">模板列表</a></li>-->
                                <!--</ul>-->
                            <!--</li>-->
                            {if condition="in_array('home/appconfig',$auth)"}
                            <li><a {if condition="$controller eq 'Appconfig'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> APP配置 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/appconfig/techguidelist',$auth)"}
                                    <li><a href="{:URL('home/Appconfig/techGuideList')}">新手指引列表</a></li>
                                    {/if}
                                    {if condition="in_array('home/appconfig/techguidelist',$auth)"}
                                    <li><a href="{:URL('home/Appconfig/commonConfig')}">通用配置</a></li>
                                    {/if}
                                </ul>
                            </li>
                            {/if}

                            {if condition="in_array('home/toolcol',$auth)"}
                            <li><a {if condition="$controller eq 'Toolcol'"}style="color:deepskyblue"{/if}><i class="fa fa-user-md"></i> 工具集 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/toolcol/google',$auth)"}
                                    <li><a href="{:URL('home/Toolcol/findUser')}">查询用户信息</a></li>
                                    {/if}

                                    {if condition="in_array('home/toolcol/google',$auth)"}
                                    <li><a href="{:URL('home/Toolcol/google')}">google搜索</a></li>
                                    {/if}
                                    {if condition="in_array('home/toolcol/google',$auth)"}
                                    <li><a href="{:URL('home/Toolcol/cronTabList')}">定时任务管理</a></li>
                                    {/if}
                                </ul>
                            </li>
                            {/if}


                            {if condition="in_array('home/systemmanage',$auth)"}
                            <li><a {if condition="$controller eq 'Systemmanage'"}style="color:deepskyblue"{/if}><i class="fa fa-cog"></i> 系统管理 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    {if condition="in_array('home/systemmanage/authoritymanage',$auth)"}
                                    <li><a href="{:URL('home/Systemmanage/authoritymanage')}">权限赋予</a></li>
                                    {/if}
                                    {if condition="in_array('home/systemmanage/usermanage',$auth)"}
                                    <li><a href="{:URL('home/Systemmanage/userManage')}">用户管理</a></li>
                                    {/if}
                                    {if condition="in_array('home/systemmanage/authlist',$auth)"}
                                    <li><a href="{:URL('home/Systemmanage/authlist')}">权限管理</a></li>
                                    {/if}
                                </ul>
                            </li>
                            {/if}

                            <!--<li><a {if condition="$controller eq 'Metadata'"}style="color:deepskyblue"{/if}><i class="fa fa-database"></i> 数据仓库 <span class="fa fa-chevron-down"></span></a>-->
                            <!--<ul class="nav child_menu">-->
                                <!--<li><a href="{:URL('home/Metadata/index')}">概览</a></li>-->
                                <!--<li><a href="{:URL('home/Metadata/tabsearch')}">表查询</a></li>-->
                                <!--<li><a href="JavaScript:;">元数据 <span class="fa fa-chevron-down"></span></a>-->
                                            <!--<ul class="nav child_menu">-->
                                                <!--<li class="sub_menu"><a href="{:URL('home/Metadata/allsearch')}">全局检索</a>-->
                                                <!--</li>-->
                                                <!--<li><a href="{:URL('home/Metadata/myDataList')}">权限分配</a>-->
                                                <!--</li>-->
                                            <!--</ul>-->
                                <!--</li>-->
                                <!--<li><a href="{:URL('home/Metadata/etymasearch')}">词根查询</a></li>-->
                                <!--<li><a href="{:URL('home/Metadata/documentmanage')}">文档管理</a></li>-->
                                <!--<li><a href="{:URL('home/Metadata/announcement')}">公告录入</a></li>-->
                                <!--<li><a href="{:URL('home/Metadata/manWrite')}">人工录入</a></li>-->
                            <!--</ul>-->
                        <!--</li>-->

                        </ul>
                    </div>
                </div>
                <!-- /sidebar menu -->
            </div>
        </div>

        <!-- top navigation -->
        <div class="top_nav">
            <div class="nav_menu" style="margin-bottom: 0px">
                <nav>
                    <div class="nav toggle">
                        <a id="menu_toggle"><i class="fa fa-bars"></i></a>
                    </div>
                    <div class="nav toggle plblic-notice">
                        <span><i class="fa fa-volume-up"></i>【公告】</span>
                        <div class="scroll-txt">
                            <ul class="font-inner" id="liName">
                                
                            </ul>
                            <!--<div class="dot">-->
                                <!--<a href="javascript:void(0)" class="lt"><</a>-->
                                <!--<a href="javascript:void(0)" class="gt">></a>-->
                            <!--</div>-->
                        </div>
                    </div>
                    <ul class="nav navbar-nav navbar-right" style="width:110px;">
                        <li class="">
                            <a href="{:URL('home/index/loginOut')}" class="user-profile dropdown-toggle"
                               aria-expanded="false">
                                <img src="__PUBLIC__/home/img/admin.jpg" alt="">退出
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
        </div>
        <!-- /top navigation -->

        <!-- page content -->
        <div class="right_col" style="height: auto;overflow: auto" role="main">
            <div class="" style="height: auto;overflow: auto">
                <div class="page-title" style="height: auto;overflow: auto">
                    {__CONTENT__}
                </div>
            </div>
        </div>
        <!-- /page content -->

        <!-- footer content -->
        <!--<footer>-->
        <!--<div class="pull-right">-->
        <!--© 2016 Copyright 北京悦畅科技有限公司 版权所有 京ICP备12034557号-->
        <!--</div>-->
        <!--<div class="clearfix"></div>-->
        <!--</footer>-->
        <!-- /footer content -->
    </div>
</div>

<!-- jQuery -->

<!-- Bootstrap -->
<script src="__PUBLIC__/vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- FastClick -->
<script src="__PUBLIC__/vendors/fastclick/lib/fastclick.js"></script>
<!-- NProgress -->
<script src="__PUBLIC__/vendors/nprogress/nprogress.js"></script>
<!-- jQuery custom content scroller -->
<script src="__PUBLIC__/vendors/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js"></script>

<!-- Custom Theme Scripts -->
<script src="__PUBLIC__/build/js/custom.min.js"></script>


<script>
$(document).ready(function() {
//    $.get("{:URL('home/Interurl/mapad')}",{ counts:10 },function(data){
     var data=[{
         content:"新增权限控制，运营请用admin账号，测试请用testing账号，相关密码请询问管理员",
         createTime:"2018-01-06 15:35 "
     },{
         content:"此系统时间统一为印度时间,如对数据有疑问，请首先联系管理员，谢谢。",
         createTime:"2018-01-25 11:00 "
     },{
         content:"新需求请发邮件确认，确定时间上线，使用中如出现bug,请及时沟通，会及时修复，谢谢。",
         createTime:"2018-01-25 11:00 "
     }]
        $.each(data, function (index, obj) {
            var html ="";
            html='<li><a href="#">'+obj.content+'</a><span>'+obj.createTime+'</span></li>',
            $("#liName").append(html);
        });
        var index = 0;
        var autoTimer = 0;
        var clickEndFlag = true;
        var oInner = $(".font-inner");
        var oLi = $(".font-inner li");
        oLi.eq(0).clone(true).appendTo(oInner);
        var liHeight = $(".scroll-txt").height();

        function tab() {
            oInner.stop().animate({
                top: -index * liHeight
            }, 400, function() {
              clickEndFlag = true;
              if (index == oLi.length) {
                  oInner.css({
                    top: 0
                  });
                  index = 0;
              }
            })
        }  
        function next() {
            index++;
            tab();
            clearInterval(autoTimer);
            autoTimer = setInterval(next, 2000);
        }
        function prev() {
            index--;
            if (index < 0) {
                index = oLi.size() - 1;
                oInner.css("top", -oLi.size() * liHeight);
            }
            tab();
            clearInterval(autoTimer);
            autoTimer = setInterval(next, 2000);
        }
      
        $(".scroll-txt").on("click", '.gt',function () {
            if (clickEndFlag) {
                next();
                clickEndFlag = false;
            }
        });
      
        $(".scroll-txt ").on("click",'.lt', function () {
            if (clickEndFlag) {
                prev();
                clickEndFlag = false;
            }
        });
      
      autoTimer = setInterval(next, 2000);
      
      $(".font-inner a").hover(function() {
            clearInterval(autoTimer);
      }, function() {
            autoTimer = setInterval(next, 2000);
      });
      
      $(".scroll-txt .lt,.scroll-txt .gt").hover(function() {
            clearInterval(autoTimer);
      }, function() {
            autoTimer = setInterval(next, 2000);
      });

    },'json');
//});    
</script>
</body>
</html>